package org.kjtc.service;

import org.kjtc.entity.ChargingStation;
import org.kjtc.mapper.StationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ Author     ：Yellowong
 * @ Date       ：Created in 11:00 2018/12/6
 * @ Description：
 */
@Service("stationService")
public class StationService {

    @Autowired
    private StationMapper stationMapper;

    public List<ChargingStation> getStationList(ChargingStation station) { return stationMapper.getStationList(station); }

    public List<Map> stationStatusStatistics() { return stationMapper.stationStatusStatistics(); }
}
